#ifndef HAIKUOS_SRC_APPS_TERMINAL_SHELLPARAMETERS_H
#define HAIKUOS_SRC_APPS_TERMINAL_SHELLPARAMETERS_H

#include <String.h>

struct ShellParameters
{
    ShellParameters(int argc, cosnt char *const *argv, const BString &currentDirectory = BString());

    void SetArguments(int argc, const char *const *argv);
    const char *const *Arguments() const
    {
        return fArguments;
    }

    int ArgumentCount() const
    {
        return fArgumentCount;
    }

    void SetCurrentDirectory(
        const BString &currentDirectory);

    const BString &CurrentDirectory() const
    {
        return fCurrentDirectory;
    }

    void SetEncoding(int encoding);

    int Encoding() const
    {
        return fEncoding;
    }

private:
    const char *const *fArguments;
    int fArgumentCount;
    BString fCurrentDirectory;
    int fEncoding;
};

#endif // header file protect
       // END: CODEREVIEW: